home *** CD-ROM | disk | FTP | other *** search
/ Flybox Trout (Edition 1) / Flybox Trout (Edition 1).iso / Setup / Support / FlyBox.swf / scripts / DefineButton2_109 / BUTTONCONDACTION on(release).as
Encoding:
Text File  |  2002-04-15  |  429 b   |  26 lines

  1. on(release){
  2.    if(eval("_root:SoundOff") == 0)
  3.    {
  4.       tellTarget("_root.ButtonPress")
  5.       {
  6.          gotoAndPlay(2);
  7.       }
  8.    }
  9.    tellTarget(_root)
  10.    {
  11.       a = 0;
  12.       do
  13.       {
  14.          set("SendAnecdote" + a,0);
  15.          a += 1;
  16.       }
  17.       while(a < eval("_root:uRecords"));
  18.       
  19.       gotoAndStop("Anecdote");
  20.    }
  21.    tellTarget("_root.Anecdote")
  22.    {
  23.       gotoAndStop(1);
  24.    }
  25. }
  26.